package com.ms.service.module.zone.db;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.xpec.c4.db.model.log.basic.BaseGameInfoLogModel;
/**
 * 全館彩中彩log
 * @author TW15012
 *
 */
@Entity
@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
@Table(name = "game_jackpotlog")
public class GameJackPotLogModel extends BaseGameInfoLogModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2351035380591794459L;
	/**座位編號**/
	private String seatId;
	/**遊戲類別**/
	private String gametype;
	
	/**館別**/
	private String halltype;
	
	/**中彩player guid**/
	private String playerid;
	
	/**中彩玩家匿稱**/
	private String name;
	
	/**中彩時彩金**/
	private BigDecimal jackpotmoney;
	
	/**中彩彩金**/
	private BigDecimal jackpotBouns;
	
	/**中彩時jp歷史彩金**/
	private BigDecimal jackpothistory;
	
	/**中彩時jp歷史總累積彩金**/
	private BigDecimal jackpothistorytotal;
	
	/**創建時間**/
	private long create_time;
	
	/**押注金額**/
	private long betMoney;
	
	/**幸運金金額**/
	private long luckyMoney;
	
	/**總投注**/
	private long totalbet;
	
	/**是否為彩金**/
	private boolean isjp;
	
	/**是否為隱藏jp**/
	private boolean isHjp;
	
	/**是否拉中彩金**/
	private boolean isbingo;
	
	/**
	 * jp隨機值
	 */
	private BigDecimal jackpotrand;
	
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJackpotrand() {
		return jackpotrand;
	}

	public void setJackpotrand(BigDecimal jackpotrand) {
		this.jackpotrand = jackpotrand;
	}
	
	public boolean getIsjp() {
		return isjp;
	}

	public void setIsjp(boolean isjp) {
		this.isjp = isjp;
	}
	
	public boolean getIsbingo() {
		return isbingo;
	}

	public void setIsbingo(boolean isbingo) {
		this.isbingo = isbingo;
	}

	public boolean getHjp() 
	{
		return isHjp;
	}

	public void setHjp(boolean isHjp) {
		this.isHjp = isHjp;
	}

	public String getSeatId() {
		return seatId;
	}

	public void setSeatId(String seatId) {
		this.seatId = seatId;
	}


	public long getBetMoney() {
		return betMoney;
	}

	public void setBetMoney(long betMoney) {
		this.betMoney = betMoney;
	}

	public long getLuckyMoney() {
		return luckyMoney;
	}

	public void setLuckyMoney(long luckyMoney) {
		this.luckyMoney = luckyMoney;
	}

	public long getTotalbet() {
		return totalbet;
	}

	public void setTotalbet(long totalbet) {
		this.totalbet = totalbet;
	}

	public String getHalltype() {
		return halltype;
	}

	public void setHalltype(String halltype) {
		this.halltype = halltype;
	}

	public String getGametype() {
		return gametype;
	}

	public void setGametype(String gametype) {
		this.gametype = gametype;
	}

	public String getPlayerid() {
		return playerid;
	}

	public void setPlayerid(String playerid) {
		this.playerid = playerid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJackpothistorytotal() {
		return jackpothistorytotal;
	}

	public void setJackpothistorytotal(BigDecimal jackpothistorytotal) {
		this.jackpothistorytotal = jackpothistorytotal;
	}


	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJackpotmoney() {
		return jackpotmoney;
	}

	public void setJackpotmoney(BigDecimal jackpotmoney) {
		this.jackpotmoney = jackpotmoney;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJackpotBouns() {
		return jackpotBouns;
	}

	public void setJackpotBouns(BigDecimal jackpotBouns) {
		this.jackpotBouns = jackpotBouns;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJackpothistory() {
		return jackpothistory;
	}

	public void setJackpothistory(BigDecimal jackpothistory) {
		this.jackpothistory = jackpothistory;
	}

	public long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(long create_time) {
		this.create_time = create_time;
	}
}
